package com.just.bz_back.service;

import com.github.pagehelper.PageInfo;
import com.just.bz_back.model.Part;
import com.just.bz_back.model.PartAdd;
import com.just.bz_back.model.PartUse;
import com.just.bz_back.model.dto.Page;

import java.util.List;

public interface PartService {
    int CreatePart(Part part);
    PageInfo<Part> ListPart(Page page);
    List<Part> PartListAll();
    PageInfo<PartAdd> PartAddList(PartAdd partAdd);
    PageInfo<PartUse> PartUseList(PartUse PartUse);
}
